<div ng-controller='FapiaoNewCtrl as vm'>
	<h1 class="page-title">继续添加同类运单到本发票</h1>
	<form ng-submit="vm.addOrder()">
		<div class="table-responsive">
			<table class="table table-striped table-bordered">
				<thead>
					<tr>
						<th>选择</th>
						<th>运单号</th>
						<th>运费</th>
						<th>支付状态</th>
						<th>线路</th>
						<th>司机</th>
						<th>车辆</th>
						
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="order in vm.orders">
						<td><input type="checkbox" ng-change="vm.toggleItemSelect(order)" ng-model="order.selected" value="None" id="big-checkbox{{$index+1}}"/></td>
						<td>{{order.orderId}}</td>
						<td>{{order.price}}</td>
						<td>{{order.paid? '已付款':'未付款'}}</td>
						<td>{{order.route}}</td>
						<td>{{order.driver.name}}</td>
						<td>{{order.vehicle.vehicleNumber}}</td>
						
					</tr>
					
				</tbody>
			</table>
		</div>
		<p ng-show="vm.noRecord">没有找到符合条件的运单！</p>
		 <div class="controls">
          <button class="btn btn-primary" type="submit">确认添加</button>
        </div>
	</form>
</div>